//------------------------------------------------------------------------
//  pp53.java    Author:YanYuJun
//
//  Lesen Sie gerade-ungerade  
//--------------------------------------------------------------------------   
  
    import java.util.Scanner;
      
    public class pp53
        {
          //------------------------------------------------------------------------
           public static void main(String [] args)
             {
               int num,a;
               int ji=0;
               int ou=0;
               int zero=0;
             
               Scanner scan = new Scanner(System.in);
             System.out.println("Enter the number:");
               num = scan.nextInt();

               if (num ==0)
                  zero++;
               else
                  
                   while(num !=0)
                   {a = (num%10);
                   if (a%2!=0)
                    ji++;
                   else
                         if (a == 0) 
                            zero++;
                          else 
                             ou++;
                           num = num / 10;}


   System.out.println("Odd number: " +ji + "\nEven number: " +ou +"\nZero: " + zero); 
  }
} 
                    
                      
                   
